<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		  <script src="../../jquery.min.js"></script>
		  <style>
			
		  </style>
	</head>
	<body >
	<div  id="a" style="width: 200px;height: 200px;border:green solid 1px;">
		


    </div>
	

	</body>
	<script>
	//禁用body
	//document.oncontextmenu=function(e){return false;}
	//禁用div
	document.getElementById("a").oncontextmenu=function(e){return false;}
	
	</script>
</html>